package com.auto.learning.bean;

import com.auto.learning.store.core.BaseModel;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "user_base_info")
public class UserBaseInfo extends BaseModel<UserInfoBean, Integer> {

	@DatabaseField(id = true, generatedId = false)
	protected int userId;
	@DatabaseField
	protected String loginName;
	@DatabaseField
	protected String tel;
	@DatabaseField
	protected int sex;
	@DatabaseField
	protected String userName;
	@DatabaseField
	protected String birthday;
	@DatabaseField
	protected int carSeriesId;
	@DatabaseField
	protected String carSeriesName;
	@DatabaseField
	protected int carBrandId;
	@DatabaseField
	protected String carBrandName;
	@DatabaseField
	protected int carModelId;
	@DatabaseField
	protected String carModelName;
	@DatabaseField
	protected String carPurchaseTime;
	@DatabaseField
	protected String listenTime;
	@DatabaseField
	protected String wexinId;
	@DatabaseField
	protected String qqId;
	@DatabaseField
	protected int bookNum;
	@DatabaseField
	protected String userGrade;
	@DatabaseField
	protected String rank;
	@DatabaseField
	protected int isBindTel = 1;
	@DatabaseField
	protected int isBindWeixin = 1;
	@DatabaseField
	protected int isBindQq = 1;
	@DatabaseField
	protected int isParter = 1;
	@DatabaseField
	protected int isJoinParter = 1;
	@DatabaseField
	protected String companyName;
	
	protected String faceUrl;

	protected int msgUnread; // 未读消息数

	protected int nofityUnread; // 未读通知数

	protected int remindUnread; // 未读评论提醒数
	
	protected AppBaseConfig config; //基础配置
	
	protected UserVipInfo vipInfo; //VIP账户信息
	
	
	
	public AppBaseConfig getConfig() {
		return config;
	}

	public void setConfig(AppBaseConfig config) {
		this.config = config;
	}

	public UserVipInfo getVipInfo() {
		return vipInfo;
	}

	public void setVipInfo(UserVipInfo vipInfo) {
		this.vipInfo = vipInfo;
	}

	public String getFaceUrl() {
		return faceUrl;
	}

	public void setFaceUrl(String faceUrl) {
		this.faceUrl = faceUrl;
	}

	public int getNofityUnread() {
		return nofityUnread;
	}

	public void setNofityUnread(int nofityUnread) {
		this.nofityUnread = nofityUnread;
	}

	public int getMsgUnread() {
		return msgUnread;
	}

	public void setMsgUnread(int msgUnread) {
		this.msgUnread = msgUnread;
	}

	public int getRemindUnread() {
		return remindUnread;
	}

	public void setRemindUnread(int remindUnread) {
		this.remindUnread = remindUnread;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public int getIsJoinParter() {
		return isJoinParter;
	}

	public void setIsJoinParter(int isJoinParter) {
		this.isJoinParter = isJoinParter;
	}

	public int getIsParter() {
		return isParter;
	}

	public void setIsParter(int isParter) {
		this.isParter = isParter;
	}

	public int getIsBindTel() {
		return isBindTel;
	}

	public void setIsBindTel(int isBindTel) {
		this.isBindTel = isBindTel;
	}

	public int getIsBindWeixin() {
		return isBindWeixin;
	}

	public void setIsBindWeixin(int isBindWeixin) {
		this.isBindWeixin = isBindWeixin;
	}

	public int getIsBindQq() {
		return isBindQq;
	}

	public void setIsBindQq(int isBindQq) {
		this.isBindQq = isBindQq;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public int getCarSeriesId() {
		return carSeriesId;
	}

	public void setCarSeriesId(int carSeriesId) {
		this.carSeriesId = carSeriesId;
	}

	public String getCarSeriesName() {
		return carSeriesName;
	}

	public void setCarSeriesName(String carSeriesName) {
		this.carSeriesName = carSeriesName;
	}

	public int getCarBrandId() {
		return carBrandId;
	}

	public void setCarBrandId(int carBrandId) {
		this.carBrandId = carBrandId;
	}

	public String getCarBrandName() {
		return carBrandName;
	}

	public void setCarBrandName(String carBrandName) {
		this.carBrandName = carBrandName;
	}

	public int getCarModelId() {
		return carModelId;
	}

	public void setCarModelId(int carModelId) {
		this.carModelId = carModelId;
	}

	public String getCarModelName() {
		return carModelName;
	}

	public void setCarModelName(String carModelName) {
		this.carModelName = carModelName;
	}

	public String getCarPurchaseTime() {
		return carPurchaseTime;
	}

	public void setCarPurchaseTime(String carPurchaseTime) {
		this.carPurchaseTime = carPurchaseTime;
	}

	public String getListenTime() {
		return listenTime;
	}

	public void setListenTime(String listenTime) {
		this.listenTime = listenTime;
	}

	public String getWexinId() {
		return wexinId;
	}

	public void setWexinId(String wexinId) {
		this.wexinId = wexinId;
	}

	public String getQqId() {
		return qqId;
	}

	public void setQqId(String qqId) {
		this.qqId = qqId;
	}

	public int getBookNum() {
		return bookNum;
	}

	public void setBookNum(int bookNum) {
		this.bookNum = bookNum;
	}

	public String getUserGrade() {
		return userGrade;
	}

	public void setUserGrade(String userGrade) {
		this.userGrade = userGrade;
	}

	public String getRank() {
		return rank;
	}

	public void setRank(String rank) {
		this.rank = rank;
	}

}
